﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hotel.Model
{
    [Table("Admin")]
    public class Admin
    {    /// <summary>
         /// 管理员的Id
         /// </summary>
        [Key]        
        public int Id { get; set; }
        /// <summary>
        /// 管理员的账号
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 管理员的密码
        /// </summary>
        public string UsrPwd { get; set; }

    }
}